This is a copy of a similar comment in another place, which explains
why WS_EX_TRANSPARENT windows get a special treatment.
https://bugzilla.gnome.org/show_bug.cgi?id=758484
if (GDK_WINDOW_TYPE (window) == GDK_WINDOW_TOPLEVEL)
ShowOwnedPopups (GDK_WINDOW_HWND (window), FALSE);
+ /* Use SetWindowPos to hide transparent windows so automatic redraws
+ * in other windows can be suppressed.
+ */
if (GetWindowLong (GDK_WINDOW_HWND (window), GWL_EXSTYLE) & WS_EX_TRANSPARENT)
{
SetWindowPos (GDK_WINDOW_HWND (window), SWP_NOZORDER_SPECIFIED,